package com.googlecode.flyway.core.dbsupport.sybase;

import com.googlecode.flyway.core.migration.sql.PlaceholderReplacer;
import com.googlecode.flyway.core.migration.sql.SqlImportResolver;
import com.googlecode.flyway.core.migration.sql.SqlScript;

public class SybaseSqlScript extends SqlScript {

    private static final String DELIMITER = "GO";

    public SybaseSqlScript(String sqlScriptSource, PlaceholderReplacer placeholderReplacer,
            SqlImportResolver sqlImportResolver) {
        super(sqlScriptSource, placeholderReplacer, sqlImportResolver);
    }

    @Override
    protected String changeDelimiterIfNecessary(String statement, String line, String delimiter) {
        return DELIMITER;
    }
}
